package itsm.isperp.module.entity.constract; 

import itsm.isperp.workflow.domain.BaseProcessBean;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 实体
 * 
 * @author lizx
 * @date 2020-05-18 16:45
 */
@Entity
@Table(name = "tmc_constract")
public class TmcConstract extends BaseProcessBean {

	private static final long serialVersionUID = 1L;

	//增值税
	@Column
	protected BigDecimal addTax;
	 
	//所属科系
	@Column
	protected String associateOffice;
	 
	//关联系统id
	@Column
	protected String associateSysId;
	 
	//关联数量
	@Column
	protected Integer associations;
	 
	//本金
	@Column
	protected BigDecimal capital;
	 
	//城市维护建造税
	@Column
	protected BigDecimal cityTax;
	 
	//合同类别(开口/闭口)
	@Column
	protected String constractAccessType;
	 
	//合同编号
	@Column
	protected String constractCode;
	 
	//合同周期
	@Column
	protected String constractCycle;
	 
	//合同金额
	@Column
	protected BigDecimal constractMoney;
	 
	//合同名称
	@Column
	protected String constractName;
	 
	//合同性质
	@Column
	protected String constractProperty;
	 
	//合同单价
	@Column
	protected BigDecimal constractSaleMoney;
	 
	//合同类型(运维/许可)
	@Column
	protected String constractType;
	 
	//描述
	@Column
	protected String description;
	 
	//教育附加税
	@Column
	protected BigDecimal educationTax;
	 
	//GTMC部门
	@Column
	protected String gtmcDept;
	 
	//地方教育税
	@Column
	protected BigDecimal localEducationTax;
	 
	//币种
	@Column
	protected String moneyType;
	 
	//当月汇率
	@Column
	protected BigDecimal parities;
	 
	//支付频率
	@Column
	protected String payFrequency;
	 
	//支付类型(一般报销、特采验收、一次性支付)
	@Column
	protected String payType;
	 
	//所属担当
	@Column
	protected String principal;

	//特采单号
	@Column
	protected String tcOrderId;
	 
	//TMC测部门
	@Column
	protected String tmcSubDept;
	 
	//TMC侧联络担当
	@Column
	protected String tmcSubPrincipal;
	 
	//有效期止
	@Column
	protected Date validEnd;
	 
	//有效期起
	@Column
	protected Date validStart;

	// 合同的TMC编号
	@Column
	protected String tmcCode;

	// 合同类别(TMC运维合同/本地运维合同)
	@Column
	protected String constractClassify;

	// 合同状态
	@Column
	protected String constractStatus;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public BigDecimal getAddTax() {
		return addTax;
	}

	public void setAddTax(BigDecimal addTax) {
		this.addTax = addTax;
	}

	public String getAssociateOffice() {
		return associateOffice;
	}

	public void setAssociateOffice(String associateOffice) {
		this.associateOffice = associateOffice;
	}

	public String getAssociateSysId() {
		return associateSysId;
	}

	public void setAssociateSysId(String associateSysId) {
		this.associateSysId = associateSysId;
	}

	public Integer getAssociations() {
		return associations;
	}

	public void setAssociations(Integer associations) {
		this.associations = associations;
	}

	public BigDecimal getCapital() {
		return capital;
	}

	public void setCapital(BigDecimal capital) {
		this.capital = capital;
	}

	public BigDecimal getCityTax() {
		return cityTax;
	}

	public void setCityTax(BigDecimal cityTax) {
		this.cityTax = cityTax;
	}

	public String getConstractAccessType() {
		return constractAccessType;
	}

	public void setConstractAccessType(String constractAccessType) {
		this.constractAccessType = constractAccessType;
	}

	public String getConstractCode() {
		return constractCode;
	}

	public void setConstractCode(String constractCode) {
		this.constractCode = constractCode;
	}

	public String getConstractCycle() {
		return constractCycle;
	}

	public void setConstractCycle(String constractCycle) {
		this.constractCycle = constractCycle;
	}

	public BigDecimal getConstractMoney() {
		return constractMoney;
	}

	public void setConstractMoney(BigDecimal constractMoney) {
		this.constractMoney = constractMoney;
	}

	public String getConstractName() {
		return constractName;
	}

	public void setConstractName(String constractName) {
		this.constractName = constractName;
	}

	public String getConstractProperty() {
		return constractProperty;
	}

	public void setConstractProperty(String constractProperty) {
		this.constractProperty = constractProperty;
	}

	public BigDecimal getConstractSaleMoney() {
		return constractSaleMoney;
	}

	public void setConstractSaleMoney(BigDecimal constractSaleMoney) {
		this.constractSaleMoney = constractSaleMoney;
	}

	public String getConstractType() {
		return constractType;
	}

	public void setConstractType(String constractType) {
		this.constractType = constractType;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public BigDecimal getEducationTax() {
		return educationTax;
	}

	public void setEducationTax(BigDecimal educationTax) {
		this.educationTax = educationTax;
	}

	public String getGtmcDept() {
		return gtmcDept;
	}

	public void setGtmcDept(String gtmcDept) {
		this.gtmcDept = gtmcDept;
	}

	public BigDecimal getLocalEducationTax() {
		return localEducationTax;
	}

	public void setLocalEducationTax(BigDecimal localEducationTax) {
		this.localEducationTax = localEducationTax;
	}

	public String getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(String moneyType) {
		this.moneyType = moneyType;
	}

	public BigDecimal getParities() {
		return parities;
	}

	public void setParities(BigDecimal parities) {
		this.parities = parities;
	}

	public String getPayFrequency() {
		return payFrequency;
	}

	public void setPayFrequency(String payFrequency) {
		this.payFrequency = payFrequency;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	public String getTcOrderId() {
		return tcOrderId;
	}

	public void setTcOrderId(String tcOrderId) {
		this.tcOrderId = tcOrderId;
	}

	public String getTmcSubDept() {
		return tmcSubDept;
	}

	public void setTmcSubDept(String tmcSubDept) {
		this.tmcSubDept = tmcSubDept;
	}

	public String getTmcSubPrincipal() {
		return tmcSubPrincipal;
	}

	public void setTmcSubPrincipal(String tmcSubPrincipal) {
		this.tmcSubPrincipal = tmcSubPrincipal;
	}

	public Date getValidEnd() {
		return validEnd;
	}

	public void setValidEnd(Date validEnd) {
		this.validEnd = validEnd;
	}

	public Date getValidStart() {
		return validStart;
	}

	public void setValidStart(Date validStart) {
		this.validStart = validStart;
	}

	public String getTmcCode() {
		return tmcCode;
	}

	public void setTmcCode(String tmcCode) {
		this.tmcCode = tmcCode;
	}

	public String getConstractClassify() {
		return constractClassify;
	}

	public void setConstractClassify(String constractClassify) {
		this.constractClassify = constractClassify;
	}

	public String getConstractStatus() {
		return constractStatus;
	}

	public void setConstractStatus(String constractStatus) {
		this.constractStatus = constractStatus;
	}
}
